package cn.iocoder.yudao.module.aiposter.controller.app.poster.vo.req;

import cn.iocoder.yudao.module.aiposter.service.poster.bo.ImgRenderTypeEnum;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

@Schema(description = "用户 APP - 海报模版渲染 Request VO")
@Data
@ToString(callSuper = true)
public class AppPosterRenderReqVO {
    @Schema(description = "模版编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("模版编号")
    private Long templateId;

    @Schema(description = "背景图", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "http:www.xxxx.png")
    @ExcelProperty("渲染图片链接")
    private String imgUrl;

    @Schema(description = "背景图Base64信息", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "iosa8120s9zxxxx....")
    @ExcelProperty("渲染图片base64")
    private String imgBase64;

    @Schema(description = "渲染类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "AI_COMPOSE")
    @ExcelProperty("渲染类型")
    private ImgRenderTypeEnum type;
}
